package com.jexchange.dubboapi.service.trade;

import com.jexchange.dubboapi.req.trade.EntrustOrderMatchDubboReq;
import com.jexchange.dubboapi.req.trade.EntrustOrderRobotCreateDubboReq;
import com.jexchange.dubboapi.res.trade.EntrustOrderMatchDubboRes;

import java.util.List;
import java.util.Map;

/**
 * 委托
 */
public interface TradeOrderDubboApi {

    /**
     *订单列表查询
     * @return
     */
    List<Object> orderList();

    /**
     * 订单详情
     * @return
     */
    Object orderDetail();


    /**
     * 常规创建订单
     */
    void createOrder();

    /**
     * 撤销订单
     */
    void revocationOrder();

    /**
     * 机器人创建订单
     * @return
     */
    boolean createOrderForRobot(EntrustOrderRobotCreateDubboReq req);

}
